<?php

namespace app\shop\controller\company;
use app\shop\service\company\WorkReport;
/**
 * 团队风采
 */
class Report
{

    public function tplList(WorkReport $WorkReport)
    {
        $data = input();
        return $WorkReport->tplList($data);
    }

    public function tplForm(WorkReport $WorkReport)
    {
        $id = input('id');
        return $WorkReport->tplForm($id);
    }

    public function addTpl(WorkReport $WorkReport)
    {
        $data = input();
        return $WorkReport->addTpl($data);
    }

    public function editTpl(WorkReport $WorkReport)
    {
        $data = input();
        return $WorkReport->editTpl($data);
    }

    public function deleteTpl(WorkReport $WorkReport)
    {
        $id = input('id');
        return $WorkReport->deleteTpl($id);
    }
}